<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<html>
<head>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.msCarousel-min.js"></script> 
<style type="text/css">
body {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
}
.mstoplinks{padding:3px; border-bottom:2px solid #c3c3c3;}
.mstoplinks a, .mstoplinks a:visited{color:#003366; text-decoration:none; border-right:1px solid #c3c3c3; padding:0 10px}
.mstoplinks a.active, .mstoplinks a.active:visited{color:#003366; text-decoration:none; border-right:1px solid #c3c3c3; padding:0 10px;border-bottom:1px solid #c3c3c3; border-left:1px solid #c3c3c3; }
.mscarousel {overflow:hidden}
.mscarousel img{border:0}
.mscarousel .child{position:relative;}
.mscarousel .child .set, .mscarousel .set{float:left; position:relative;}
.mscarousel .child .set .message, .mscarousel .set .message{/*position:absolute; top:0; left:0; background-color:#333333; color:#fff; display:none;*/}
.mscarousel .child .clear{clear:both}
.hand{cursor:pointer}
</style>
</head>

<body>
<div style="clear:both" class="mstoplinks">
	test

</div>

<div id="carouseldiv" style="border:2px solid #c3c3c3; background-color:#FFFFFF">
<div class="set"><span style="width:50">abc <input name="blah" type="button" value="btn" /></span></div>
<div class="set"><span style="width:50">123</span></div>
<div class="set"><span style="width:50">#$%</span></div>
</div>

<div style="clear:both; padding:10px; border-bottom:1px solid #c3c3c3; margin-bottom:10px;">
  <input name="previous" id="previous" type="button" value="Previous" />
  &nbsp;

  <input name="next" id="next" type="button" value="Next" />
  &nbsp; </div>

  <script type="text/javascript"> 
$(document).ready(function() {	
	try {
		var oHandlerHorizontal = $("#carouseldiv").msCarousel({boxClass:'div.set', width:516, height:198, scrollSpeed:500}).data("msCarousel");
		$("#next").click(function() {
			oHandlerHorizontal.next();
		});
		$("#previous").click(function() {
			oHandlerHorizontal.previous();
		});	
		
	} catch(e) {
		alert(e.message);
	}
	
})
</script> 
</body>
</html>